package com.sanjin.repository;

import com.sanjin.entity.WxMiniUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @description:
 * @author: sanjin
 * @date: 2019/5/4 19:30
 */
public interface WxMiniUserRepository extends JpaRepository<WxMiniUser,Integer> {
    WxMiniUser findWxMiniUserByNickname(String nickname);

    WxMiniUser queryWxMiniUserById(Integer wxMiniUserId);

    WxMiniUser queryWxMiniUserByOpenid(String openid);

    WxMiniUser queryWxMiniUserByCarLicenseNumber(String arLicenseNumber);
}
